<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="Cache-Control" content="no-store" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<title>登陆</title>
		<style type="text/css">
		a {
		color:#1E50A2;
		text-decoration:none;
		}
		a:hover {
		color:#990000;
		text-decoration:underline;
		}
		</style>
	</head>
	<body style="margin:0px 10px;text-align:center;background: url(images/bg_footlogin.jpg) no-repeat scroll right bottom transparent;">
		<br />
		<table align="center" style="width:90%;text-align:center;">
			<tr>
				<td style="width:450px;text-align:left;background: url(images/loginbg.jpg) repeat-y scroll right center transparent; padding: 10px;">
					<span style="color:#4D4D4D;font-family:Microsoft YaHei;font-size:18px;font-weight:bold;">经销商招募管理系统</span>
					<img height="357" width="382" src="images/110110_theme_mobi.jpg" />
				</td>
				<td align="center" style="text-align:center;">
					<table align="center" style="width:326;text-align:center;">
						<tr>
							<td style="border: 1px solid rgb(202, 202, 202);">
								<table align="center" style="width:321px;border: 1px solid rgb(245, 245, 245);">
									<tr>
										<td style="text-align:center;">
								         	<div style="text-align:center">
											<c:if test="${not empty param.login_error}">
												<font color="red"> 登录失败<BR /> 原因: 用户不存在或密码错误 </font>
											</c:if>
											<c:if test="${param.error == 2}">
												<font color="red"> 验证码错误 </font>
											</c:if>
								         	</div>
											<div style="height:40px;padding-top:20px;">
												<span style="font-size:14px;font-weight:bold;">用户登录</span>
											</div>
											<form action="<c:url value='j_acegi_security_check'/>" method="POST">
											<table align="center" style="line-height:30px;font-size:12px;">
												<tr>
													<td>
														用户名：
													</td>
													<td>
														<input type='text' style="width:120px;" name='j_username' <c:if test="${param.login_error == 1}">value='<%=session.getAttribute(AuthenticationProcessingFilter.ACEGI_SECURITY_LAST_USERNAME_KEY)%>'</c:if> />
													</td>
												</tr>
												<tr>
													<td>
														密 码：
													</td>
													<td>
														<input type='password' style="width:120px;" name='j_password' />
													</td>
												</tr>
											</table>
											<table align="center" style="width:200px;line-height:30px;font-size:12px;text-align:center;">
												<tr>
													<td>
													<input name="submit" type="submit" value="" style="background:url(images/login.gif) repeat scroll 0 0 transparent;border:0 none;cursor:pointer;height:26px;width:86px;" />
													</td>
													<td>
													
														<a href="<c:url value='/register.do'/>">注册</a>
													</td>
												</tr>
											</table>
											</form>
											<br /><br /><br />
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<table align="center" style="width:326;background-image:url(images/visitor_bg.png)">
						<tr>
							<td>
								<br />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
					<div style="text-align:right;height:40px;padding-top:20px;">
						<span style="font-size:14;font-weight:700;color:#aaa;font-family:NSimSun;">上海大众汽车有限公司&nbsp;&nbsp;请拨打&nbsp;&nbsp;400-820-1111(转4)</span>
					</div>
	</body>
</html>
